package com.lagou.test04.test04;

import java.io.Serializable;

public class UserMessage implements Serializable {

    private static final long serialVersionUID = 1511371745829951739L;
    private String type;

    private User User;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public com.lagou.test04.test04.User getUser() {
        return User;
    }

    public void setUser(com.lagou.test04.test04.User user) {
        User = user;
    }

    public UserMessage() {
    }

    public UserMessage(String type, User user) {
        this.type = type;
        User = user;
    }

    @Override
    public String toString() {
        return "UserMessage{" +
                "type='" + type + '\'' +
                ", User=" + User +
                '}';
    }


}
